package com.car.fragment;

import java.util.ArrayList;
import java.util.List;

import com.car.entity.CarOff;
import com.car.entity.CarSeries;
import com.car.entity.NewsItem;

import android.support.v4.app.Fragment;
import android.view.View;
import android.widget.TextView;

public class JListKit {

	public static List<CarSeries> newArrayListCar() {

		List<CarSeries> list = new ArrayList<CarSeries>();
		return list;
	}

	public static List<Fragment> newArrayList() {

		List<Fragment> list = new ArrayList<Fragment>();
		return list;
	}

	public static List<View> newArrayListView() {

		List<View> list = new ArrayList<View>();
		return list;
	}

	public static List<NewsItem> newArrayLists() {

		List<NewsItem> list = new ArrayList<NewsItem>();
		return list;
	}

	public static List<TextView> newArrayTextViewLists() {

		List<TextView> list = new ArrayList<TextView>();
		return list;
	}

	public static boolean isNotEmpty(List<?> tmp) {
		if (tmp.isEmpty()) {
			return false;
		} else {
			return true;
		}
	}

	public static List<CarOff> newArrayListsCarOff() {
		List<CarOff> list = new ArrayList<CarOff>();
		return list;
	}
}
